class Solution {
public:
    int possibleStringCount(string word) {
        
        int ret=1;
        for(int i=1;i<word.size();++i){

            if(word[i]==word[i-1]){

                ret++;
            }
        }
        return ret;
    }
};
